package personal.hrsw1.demo1.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

/**
 * 
 * @TableName sys_order
 */
@TableName(value ="sys_order")
@Data
public class SysOrder {
    /**
     * 
     */
    private List<SysOrderDetail> orderDetails;
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private Integer userId;

    /**
     * 
     */
    private Double total;

    /**
     * 
     */
    private String description;
}